package com.oocl.shopping.service.impl;

import java.util.Map;

import com.oocl.shopping.dao.BookDao;
import com.oocl.shopping.dao.impl.BookDaoImpl;
import com.oocl.shopping.pojo.Book;
import com.oocl.shopping.service.BookService;

public class BookServiceImpl implements BookService{

	private BookDao bookDao;
	
	public BookServiceImpl() {
		bookDao = new BookDaoImpl();
	}

	@Override
	public Map<String, Book> findAll() {
		return bookDao.findAll();
	}

}
